package com.engineering.elink.domain;

import io.swagger.annotations.ApiParam;

import java.util.Date;

public class File {
	
    private String fileId; //文件ID

    @ApiParam(value="文件后缀类型",required=true)
    private Integer typeId; //文件后缀类型

    @ApiParam(value="一级分类",required=true)
    private Integer tcId;// 一级分类
    
    @ApiParam(value="二级分类",required=true)
    private Integer scId;//二级分类

    @ApiParam(value="文件名称",required=true)
    private String name;//文件名称

    @ApiParam(value="文件大小,单位为B",required=true)
    private Float size;//文件大小

    private Date uploadTime;//上传时间

    private Integer downloadCount;// 下载次数

    @ApiParam(value="文件标签集合，比如'1,2,3'",required=true)
    private String tagIds;//文件标签

    private Integer collectionCount;//收藏次数

    @ApiParam(value="文件价格",required=true)
    private Float price;//文件价格

    private String userId;//上传人

    @ApiParam(value="文件下载路径",required=true)
    private String path; //文件下载路径
    
    @ApiParam(value="文件预览路径",required=true)
    private String previewPath; //文件预览路径
    
    private Integer commentCount;  //评论数

    private Byte authStatus; //是否认证 0--未认证，1--已认证,默认为0 

    private Byte deleteStatus; //是否删除 0--未删除 1--删除,默认为0

    @ApiParam(value="简介",required=true)
    private String introduction;//简介
    
    private Integer browseCount;//浏览次数
    
    private Integer cardinal   ;//基数
    

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId == null ? null : fileId.trim();
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getTcId() {
        return tcId;
    }

    public void setTcId(Integer tcId) {
        this.tcId = tcId;
    }

    public Integer getScId() {
        return scId;
    }

    public void setScId(Integer scId) {
        this.scId = scId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Float getSize() {
        return size;
    }

    public void setSize(Float size) {
        this.size = size;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Integer getDownloadCount() {
        return downloadCount;
    }

    public void setDownloadCount(Integer downloadCount) {
        this.downloadCount = downloadCount;
    }

    public String getTagIds() {
		return tagIds;
	}

	public void setTagIds(String tagIds) {
		this.tagIds = tagIds;
	}

	public Integer getCollectionCount() {
        return collectionCount;
    }

    public void setCollectionCount(Integer collectionCount) {
        this.collectionCount = collectionCount;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path == null ? null : path.trim();
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Byte getAuthStatus() {
        return authStatus;
    }

    public void setAuthStatus(Byte authStatus) {
        this.authStatus = authStatus;
    }

    public Byte getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(Byte deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }

	public Integer getBrowseCount() {
		return browseCount;
	}

	public void setBrowseCount(Integer browseCount) {
		this.browseCount = browseCount;
	}

	public Integer getCardinal() {
		return cardinal;
	}

	public void setCardinal(Integer cardinal) {
		this.cardinal = cardinal;
	}

	public String getPreviewPath() {
		return previewPath;
	}

	public void setPreviewPath(String previewPath) {
		this.previewPath = previewPath;
	}
}